import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'

Vue.config.productionTip = false


//根实例
new Vue({
  router,//相当于router:router
  render: h => h(App)//渲染app组件
}).$mount('#app')//将根实例挂载到div
